<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
</head>
<body>

<div class="footer" style="margin-top: 40px;">
    <div class="footer-tags">
        <div class="copy-box clearfix">
            <p class="copyright" style="font-size:24px;"></p>
        </div>
    </div>
</div>

<!-- 右侧菜单 -->
<div class="right-nav">
    <ul class="r-with-gotop">
        <li class="r-toolbar-item">
            <a href="my" class="r-item-hd">
                <i class="iconfont icon-user"></i>
                <div class="r-tip__box"><span class="r-tip-text">用户中心</span></div>
            </a>
        </li>
        <li class="r-toolbar-item">
            <a href="shopcart" class="r-item-hd">
                <i class="iconfont icon-cart" data-badge="${sessionScope.total==null ? 0 : sessionScope.total}"></i>
                <div class="r-tip__box"><span class="r-tip-text">购物车</span></div>
            </a>
        </li>
        <li class="r-toolbar-item to-top">
            <i class="iconfont icon-top"></i>
            <div class="r-tip__box"><span class="r-tip-text">返回顶部</span></div>
            <script>
                $(document).ready(function(){ $('.to-top').toTop({position:false}) });
            </script>
        </li>
    </ul>
</div>

<script>
    $(document).ready(function(){
        // 页面下拉固定楼层导航
        $('.floor-nav').smartFloat();
    });
</script>

</body>
</html>